﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yitter.IdGenerator;

namespace Hotel.IServices.RequestDTO
{
    public class GetUpGoodsReDto
    {
        public long GoodsId { get; set; } = YitIdHelper.NextId();
        [Required]
        [StringLength(100)]
        public string GoodsName { get; set; }
        /// <summary>
        /// 商品的价格
        /// </summary>
        public decimal GoodsPrice { get; set; } = 0;

        /// 商品分类
        /// </summary>
        public string GoodsTypeId { get; set; }
        /// <summary>
        /// 标签
        /// </summary>
        public string GoodsLabel { get; set; } = string.Empty;
        /// <summary>
        /// 商品图片
        /// </summary>
        public string GoodsImages { get; set; } = string.Empty;
        public string GoodsDesc { get; set; } = string.Empty;
        public string GoodsDetail { get; set; } = string.Empty;
    }
}
